package example

class Example {
  static void main(String[] args) {
    [1, 2, 3, 4].each { number ->
      println number
    }
  }
}
